-- GENERATED SPELL FOR [Scarlet Centurion] --


function spell0_4301(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(31403,pUnit)
pUnit:RegisterEvent('Sorts_4301', 616, 1)
end

function Sorts_4301(pUnit, Event)
local choix_sorts_4301 = math.random(0, 0)
if choix_sorts_4301 == 0 then
pUnit:RegisterEvent('spell0_4301', 1, 1)
end
end

function mob4301_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4301', math.random(1500, 3000), 1)
end

function mob4301_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4301_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4301_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4301, 1, 'mob4301_Action')
RegisterUnitEvent(4301, 2, 'mob4301_Leave')
RegisterUnitEvent(4301, 3, 'mob4301_Kill')
RegisterUnitEvent(4301, 4, 'mob4301_Die')
